package com.zsk.gen;

import lombok.Data;

@Data
public class GenConfig {

    // 数据库地址
    private String url =
        "jdbc:mysql://localhost:3306/test_db?characterEncoding=utf-8&serverTimezone=GMT%2B8&useSSL=false";
    // 驱动
    private String drive = "com.mysql.jdbc.Driver";
    // 用户名
    private String user = "amsuser";
    // 密码
    private String password = "ams2018";
    // 作者
    private String author = "author";

    private boolean genEntity = true;
    private boolean genRepository = true;
    private boolean genService = true;
    private boolean genController = true;
    private boolean coverCode = false;

    // 根包名
    private String basePackage = "";
    // 模块名
    private String moduleName = "";

    // 实体包名
    private String entityPackage = "entity";

    // 仓库包名
    private String repositoryPackage = "repository";

    // service包
    private String servicePackage = "service";

    // controller包
    private String controllerPackage = "controller";

}
